package top.dancun.easbaseinfo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * 
 * @author dancun
 * @email message@dancun.top
 * @date 2022-09-03 21:40:34
 */
@Data
@TableName("teacher")
public class TeacherEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.INPUT)
	private String tid;
	/**
	 * 
	 */
	private String name;
	/**
	 * 
	 */
	private String mobile;

	/**
	 *
	 */
	private  Integer deptId;

	/**
	 * 学院
	 */
	@TableField(exist = false)
	private DeptEntity dept;


}
